{% extends "base_sub.html" %}

{% block title %}警告窗口{% endblock title %}

{% block content %}
    <script>
        alert("{% for error in errors %}{{ error|safe }}{% endfor %}");
        {% if url %}
            document.location.href = "{{ url }}";
        {% else %}
            history.back();
        {% endif %}
    </script>
{% endblock content %}